package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.CourseType;
import cn.itsource.ymcc.vo.CrumbsTypeVo;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 课程目录 服务类
 * </p>
 *
 * @author gwk
 * @since 2023-02-24
 */
public interface ICourseTypeService extends IService<CourseType> {

    List<CourseType> treeData();

    void addTotalCount(Long courseTypeId);

    List<CrumbsTypeVo> getCrumbs(Long id);
}
